<%@ page contentType="text/html;charset=UTF-8" import="com.mmp.main.util.*,com.mmp.main.entity.*"%>
<%
	String purpose = request.getParameter("purpose");
	if (purpose != null) // save in session
		request.getSession().setAttribute("purpose", purpose);
	else
		// get from session
		purpose = (String) request.getSession().getAttribute("purpose");
	
	User currentUser = WebUtil.getSessionUser(request);	
	String currentSiteName = WebUtil.getCurrentSiteName(request);
%>
<%
	//if (currentSiteName != null) {
%>
<!-- <label class="breadcrumbs" id="current_site_name">الموقع الحالي:&nbsp;<%=currentSiteName%></label> -->
<%
	//}
if (currentUser != null) {
%>
<label class="breadcrumbs" id="current_user_name">المستخدم الحالي:&nbsp;<%=currentUser.getName()%></label>

<%
	}
if (purpose != null) {
%>
<label class="breadcrumbs" id="current_function_name"> 
<%=Default.REPORT_TITLE_PREFIX%>&nbsp;<%=new String(purpose.getBytes("iso-8859-1"), "utf-8")%>
</label>
<%
	}
%>